﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FullDayLeave.aspx.cs" Inherits="SMSSnew.UI.FullDayLeave" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<link href="../../../css/StyleSheet.css" rel="stylesheet" type="text/css" />
<head runat="server">
    <title>Fullday Leave Application Form</title>
    <style type="text/css">
        .style1
        {
            height: 28px;
        }
        .radInput_Default
        {
            font: 11px arial,tahoma,verdana,sans-serif;
            vertical-align: middle;
        }
        .radEnabledCss_Default
        {
            border: 1px solid #626262;
        }
        .radEnabledCss_Default
        {
            font: 11px arial,tahoma,verdana,sans-serif;
            padding: 2px 0 2px 1px;
            color: #333;
        }
    </style>
</head>
<body>
    <div class="container">
        <form id="form1" class="well span11 text-center" runat="server">
        <p align="left">
            <table width="100%">
                <tr>
                    <td align="left" colspan="4">
                        <asp:ImageButton ID="imgBtnBack" runat="server" ImageUrl="~/IMAGES/back.png" OnClick="imgBtnBack_Click"
                            ToolTip="Back" />
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </td>
                    <td>
                        <p align="right">
                            <asp:Image ID="imgUserImage" runat="server" Height="40px" ImageUrl="~/IMAGES/profile-default.png" /></p>
                    </td>
                    <td align="right">
                        <p align="right">
                            <asp:Label ID="lblFullName" runat="server" Text="So and so" 
                                Font-Italic="True"></asp:Label>
                        </p>
                    </td>
                    <td align="right">
                        <asp:LinkButton ID="lnkBtnLogout" runat="server" PostBackUrl="~/UI/Login.aspx" Font-Underline="True"><h5>Logout</h5></asp:LinkButton>
                    </td>
                </tr>
            </table>
        </p>
        <div>
            <table width="100%" class="table container text-left">
                <tr>
                    <th colspan="4" class="style1">
                        <asp:Label ID="lblTitle" runat="server" Text="Full Day Leave Application Form : "
                            CssClass="text-info"></asp:Label>
                        <asp:Label ID="lblYear" runat="server" Text="2013" CssClass="text-info"></asp:Label>
                    </th>
                </tr>
                <tr>
                    <td colspan="4">
                        <div style="background-color: #3a87ad">
                            <table width="100%">
                                <tr>
                                    <td colspan="2">
                                        <asp:Label ID="lblColMedical" runat="server" Text="Medical Leaves" ForeColor="White"
                                            Font-Bold="True" Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td colspan="2">
                                        <asp:Label ID="lblColCasual" runat="server" Text="Casual Leaves" ForeColor="White"
                                            Font-Bold="True" Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td colspan="2">
                                        <asp:Label ID="lblColDuty" runat="server" Text="Duty Leaves" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td colspan="2">
                                        <asp:Label ID="lblColNopay" runat="server" Text="Nopay Leaves" ForeColor="White"
                                            Font-Bold="True" Font-Size="Medium"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lbl1" runat="server" Text="Available" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbl2" runat="server" Text="Pending" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbl3" runat="server" Text="Available" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbl4" runat="server" Text="Pending" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbl5" runat="server" Text="Taken" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label1" runat="server" Text="Pending" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lbl6" runat="server" Text="Taken" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="Label2" runat="server" Text="Pending" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="lblAvailMedicalNo" runat="server" Text="10" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPendMedicalNo" runat="server" Text="10" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblAvailCasualNo" runat="server" Text="10" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPendCasualNo" runat="server" Text="10" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblTakenDutyNo" runat="server" Text="10" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPendDutyNo" runat="server" Text="10" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblTakenNopayNo" runat="server" Text="10" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblPendNopayNo" runat="server" Text="10" ForeColor="White" Font-Bold="True"
                                            Font-Size="Medium"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <p align="center">
                            <strong>
                        Request New
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <p align="center">
                            <asp:DropDownList ID="comLeaveType" runat="server" OnSelectedIndexChanged="comLeaveType_SelectedIndexChanged"
                                AutoPostBack="True">
                                <asp:ListItem>Medical Leaves</asp:ListItem>
                                <asp:ListItem>Casual Leaves</asp:ListItem>
                                <asp:ListItem>Duty Leaves</asp:ListItem>
                                <asp:ListItem>No Pay Leaves</asp:ListItem>
                            </asp:DropDownList>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                        <div style="background-color: #3a87ad">
                            <table width="100%">
                                <tr>
                                    <td width="35%">
                                        <asp:Label ID="lblSelectDate" runat="server" Font-Bold="True" Font-Size="Medium"
                                            ForeColor="White" Text="Select From Date and To Date"></asp:Label>
                                   
                                    </br> </br>
                                        <telerik:RadCalendar ID="radDpFrom" runat="server" Font-Names="Arial, Verdana, Tahoma"
                                            ForeColor="Black" Skin="WebBlue" Style="border-color: #ececec" AutoPostBack="True"
                                            OnDayRender="radDpFrom_DayRender"
                                            OnHeaderCellRender="radDpFrom_HeaderCellRender" SelectedDate="" 
                                            onselectionchanged="radDpFrom_SelectionChanged" ShowRowHeaders="False">
                                           
                                        </telerik:RadCalendar>
                                    </td>
                                    <td width="65%">
                                        <asp:Label ID="lblreason" runat="server" Font-Bold="True" Font-Size="Medium" ForeColor="White"
                                            Text="Reason"></asp:Label>
                                    </br> </br>
                                     
                                        <asp:TextBox ID="txtReason" runat="server" class="span7" Height="100px" Width="520px" TextMode="MultiLine"></asp:TextBox>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <p align="right">
                            <asp:LinkButton ID="lnkButSummary" runat="server" onclick="lnkButSummary_Click">View Summary</asp:LinkButton>
                            <asp:Button ID="butSubmit" runat="server" class="btn btn-primary" OnClick="butSubmit_Click"
                                Text="Submit" /></p>
                    </td>
                </tr>
            </table>
        </div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        </form>
    </div>
</body>
</html>
